package com.online.music.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.online.music.entity.vo.SongPageVo;
import com.online.music.entity.vo.SongVo;
import com.online.music.entity.dto.SongDTO;
import com.online.music.entity.po.Song;

import java.util.List;

import com.online.music.common.Result;


/**
 * @Author: Leno
 * @Date: 2025-01-31
 * @Description: ISongService
 */
public interface ISongService extends IService<Song> {

    Result<Page<SongPageVo>> findPage(Integer pageNum, Integer pageSize, Song song);

    Result<String> deleteBatch(List<Long> ids);

    Result<Boolean> addOrUpdate(SongDTO songDTO);

    Result<SongVo> findById(Long id);

    Result<Void> report(Long songId);
}

